================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
此样例演示了flash sector擦除和page写功能。

Function descriptions:
This example demonstrates the flash sector erase and page write functions.
================================================================================
测试环境：
测试用板：PY32F032_STK
MDK版本： 5.28
IAR版本： 9.20
GCC版本：GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F032_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤：
1. 编译下载程序到MCU，并运行；
2. 按下按键，程序进行sector擦除和page写功能；
3. sector擦除成功和page写成功，LED亮。

Example execution steps:
1. Compile and download the program to MCU and run it;
2. Press the button to perform sector erase and page write functions in the program;
3. The sector is successfully erased and the page is successfully written, and the
LED is on.
================================================================================
注意事项：
本例程擦写FLASH使用的是最后一个Sector扇区。也可选择其它空白扇区进行擦写，避免覆盖
有效数据。

Notes:
In this example, the last sector is used for erasing the FLASH memory. You can
also select another empty sector for erasing to avoid overwriting valid data.
================================================================================